package com.andaily.domain.developer;

/**
 * Date: 13-8-3
 *
 * @author Shengzhao Li
 */
public enum SprintStatus {

    CREATED("Created"),
    PENDING("Pending"),
    //    ARCHIVED("Archived"),
    FINISHED("Finished");

    private String label;

    private SprintStatus(String label) {
        this.label = label;
    }

    public String getValue() {
        return name();
    }

    public String getLabel() {
        return label;
    }

    public boolean isFinished() {
        return FINISHED.equals(this);
    }
}
